package com.simple.member.service.impl;

import com.simple.core.base.BaseApiService;
import com.simple.core.base.BaseResponse;
import com.simple.member.feign.WeiXinAppServiceFeign;
import com.simple.member.service.MemberService;
import com.simple.weixin.dto.output.AppOutDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MemberServiceImpl extends BaseApiService<AppOutDTO> implements MemberService {

    @Autowired
    private WeiXinAppServiceFeign weiXinAppServiceFeign;



    @Override
    public BaseResponse<AppOutDTO> memberInvokeWeiXin() {
        return weiXinAppServiceFeign.getApp();
    }
}
